package com.gxa.usermanagement.feign;

import com.gxa.common.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "merchant")
public interface Shop {

    @RequestMapping(value = "/findShopById",method = RequestMethod.GET,
            produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    R selectShop(@RequestParam(value = "id") Integer id);

}
